package cn.dbqn.service;

import cn.dbqn.dao.HenhouseMapper;
import cn.dbqn.entity.Henhouse;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class HenhouseService {
    @Autowired
    private HenhouseMapper henhouseMapper;

    public List<Henhouse> findAllJs(){
        return henhouseMapper.findAll();
    }

    public Henhouse jsxx(Integer hno){
        return henhouseMapper.jsxx(hno);
    }
}
